package com.gitee.openviducn.inspector.domain.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

/**
 * @Author: https://gitee.com/wesleyOne
 * @Date: 12.07 2019
 */
@ApiModel(value = "登录请求体")
@Getter
@Setter
public class LoginRequest extends BaseRequest {
    private static final long serialVersionUID = -99392547675527695L;
    @ApiModelProperty(value = "帐号")
    @NotEmpty(message = "帐号不能为空")
    String username;
    @ApiModelProperty(value = "密码")
    @NotEmpty(message = "密码不能为空")
    String password;
}
